The <targets> element contains information on the targets of the workflow.  This element has no <parameters>, being instead merely the top-level element under which are nested individual target definitions.  See here for a full discussion of all ShapeChange target formats and their specific configuration options.

For each target listed in the configuration, the processing of the target can be switched off by setting the "mode" attribute to "disabled". The default value is "enabled".

Note
The model(s) to be processed by a target is identified using the "inputs" XML attribute. Model validation as a pre-check can be performed using the validators identified in XML attribute "validators". Further information is provided here.

A sample <targets> section of a configuration file, containing multiple defined targets for the same application schema, might look like the following:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<targets>
    <TargetXmlSchema class="de.interactive_instruments.ShapeChange.Target.XmlSchema.XmlSchema" mode="enabled">
           …contents snipped…
    </TargetXmlSchema>
    <Target class="de.interactive_instruments.ShapeChange.Target.Ontology.RDF" mode="enabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
        <targetParameter name="language" value="en" />
        <targetParameter name="taggedValueForTitle" value="name" />
        <targetParameter name="taggedValueForCode" value="nsgAlphaCode" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.FeatureCatalogue.FeatureCatalogue" mode="disabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.KML.XSLT" mode="enabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.Codelists.CodelistDictionaries" mode="disabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
    <Target class="de.interactive_instruments.ShapeChange.Target.Mapping.Excel" mode="disabled">
        <targetParameter name="outputDirectory" value="./NAS_v1_3_MDB" />
    </Target>
</targets>